<%--
    Document   : allModeratorsBody.jsp
    Created on : Apr 27, 2011, 10:01:54 PM
    Author     : hussein
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib  prefix="ds" uri="/WEB-INF/tlds/displaycategories.tld" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<div id="page-body">
    <table border="1" cellpadding="5" width="1100">
        <tr valign="center">
                <td><h3> Moderator ID</h3></td>
                <td><h3> Moderator Username</h3></td>
                <td><h3> Moderator E-mail</h3></td>
                <td><h3> Moderator First Name</h3></td>
                <td><h3> Moderator Last Name</h3></td>
                <td><h3> Moderator country</h3></td>
                <td><h3> Moderator Permissions</h3></td>
                <td><h3> Demote Moderator</h3></td>
              
            </tr>
               <logic:iterate id="moderatorsid" name="moderators">
                   
                <tr>
                    <td>
                        <bean:write name="moderatorsid" property="memberId"/>
                    </td>
                    <td>
                        <bean:write name="moderatorsid" property="userName"/>
                    </td>
                    <td>
                        <bean:write name="moderatorsid" property="email"/>
                    </td>
                    <td>
                        <bean:write name="moderatorsid" property="fname"/>
                    </td>
                    <td>
                        <bean:write name="moderatorsid" property="lname"/>
                    </td>
                    <td>
                        <bean:write name="moderatorsid" property="country"/>
                    </td>
                    <td>
                        <a href="moderatorOperations.do?type=getperm&modId=<bean:write name="moderatorsid" property="memberId"/>">Show permission </a>
                    </td>
                    <td>
                        <a href="moderatorOperations.do?type=demot&modId=<bean:write name="moderatorsid" property="memberId"/>">Demote this Moderator</a>
                    </td>
                </tr>
                
                
            </logic:iterate>
        </table>

</div>